#pragma once
#include "tokenRes.h"
#include "accessKeyRes.h"
#include "appException.h"

class TokenStorage
{
public:
	static TokenStorage& inst();
	TokenInfo& getToken() throw (AppException);
	AccessKey& getAccessKey() throw(AppException);
private:
	TokenStorage();
	~TokenStorage();
private:
	TokenInfo token;
	AccessKey accessKey;
};

